﻿using KC.Service.Core.Enums.WorkFlow;
using KC.DTO.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KC.Service.Core.DTO.WorkFlow
{
    [Serializable]
    [DataContract(IsReference = true)]
    public class WorkFlowRuleDto : EntityDTO
    {
        [DataMember]
        public Guid? Id { get; set; }

        [DataMember]
        public Guid FlowId { get; set; }

        [DataMember]
        public string Title { get; set; }

        [DataMember]
        public string Content { get; set; }

        [DataMember]
        public RuleType RuleType { get; set; }

        [DataMember]
        public string RuleTypeName { get; set; }

        [DataMember]
        public bool IsEnable { get; set; }

        public string IsEnableString { get; set; }
    }
}
